package com.knight.study.patterns.tujie.adapter;

/**
 * @Author knight
 * @Date 2024/9/5 18:27
 */

public class Banner {
    private String string;

    public Banner(String string) {
        this.string = string;
    }

    public void showWithParen(){
        System.out.println("(" + string + ")");
    }

    public void showWithAster(){
        System.out.println("*" + string + "*");
    }
}
